package com.svse.activemq;

import java.io.Serializable;
import java.util.Date;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Copyright 上海危网信息科技有限公司版权所有
 * @company wwsoft
 * @Date 2020/4/10 8:52
 */
public class MessagePojo implements Serializable {
    private String content;

    private Date sendDate;

    public MessagePojo() {
    }

    public MessagePojo(String content, Date sendDate) {
        this.content = content;
        this.sendDate = sendDate;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getSendDate() {
        return sendDate;
    }

    public void setSendDate(Date sendDate) {
        this.sendDate = sendDate;
    }

    @Override
    public String toString() {
        return "MessagePojo{" +
                "content='" + content + '\'' +
                ", sendDate=" + sendDate +
                '}';
    }
}
